﻿using ETA.DomainEnum;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ETA.IService
{
    public interface IAskForHelpService
    {
        /// <summary>
        /// 返回所有请求记录
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        QueryAskForHelpResponse QueryAskForHelpList(QueryAskForHelpRequest req,out int count);

        /// <summary>
        /// 创建一个援助请求
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        CreateAskForHelpResponse CreateAskForHelp(CreateAskForHelpRequest req);

        /// <summary>
        /// 修改援助请求
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        ModifyAskForHelpResponse ModifyAskForHelp(ModifyAskForHelpRequest req);

        /// <summary>
        /// 评价
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        Response CommentAskForHelp(string id, EvaluateEnum evaluate);

        /// <summary>
        /// 处理完毕
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        Response HandlerAskForHelp(string id, StateEnum state);

    }
}
